/**
 * 
 */
package org.wisigoth.chat.client;

import java.util.Collection;

/**
 * A friend list is a list of contacts added by the Wisigoth client user
 * @author dtfs-tof
 * @version 1.0 05/27/09
 */
public interface FriendList {
	
	/**
	 * inform if a contact is known by the user of this session.
	 * @param contact
	 * @return true if the given contact belong this user's friend list 
	 * false otherwise
	 */
	
	public boolean isKnown(Contact contact);
	
	/**
	 * Add a contact to the friend list
	 * @param contact
	 */
	public void addContact(Contact contact);
	
	
	/**
	 * inform about all the known Contacts.
	 * @return a {@link Collection} of {@link Contact} 
	 */
	public Collection<Contact> whoIKnow();
	
	

}
